package com.woniu.car.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.car.domain.TBackstageAccount;
import com.woniu.car.domain.TUserAccount;
import com.woniu.car.param.LoginBackstageAccountParam;
import com.woniu.car.param.RegisterBackstageAccountParam;


import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WWX
 * @since 2021-06-19
 */
public interface TBackstageAccountService extends IService<TBackstageAccount> {
    //新增后台账号
    public TBackstageAccount insertBackstageAccount(TBackstageAccount tBackstageAccount) throws Exception;
    //修改后台账号
    public void updateBackstageAccount(TBackstageAccount tBackstageAccount) throws Exception;
    //查看账号
    public List<TBackstageAccount> showBackstageAccount();
    //条件查找账号
    public List<TBackstageAccount> queryBackstageAccount(TBackstageAccount tBackstageAccount);
    //账号注册
    public TBackstageAccount registerAccount(RegisterBackstageAccountParam param) throws Exception;
    //账号登录
    public TBackstageAccount login(LoginBackstageAccountParam param)throws Exception;
    //超级管理员注册
    public TBackstageAccount insertSuperAccount(TBackstageAccount tBackstageAccount) ;

}
